/*
 * @(#)FormConstant.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.form;


/**
DmsOperationConstant.java

This class is to store all constants for FORM module

 @author          Charlie Liu
 @company         DCIVision Limited
 @creation date   10/14/2005
 @version         $Revision: 1.6.2.2 $
 
*/

public class FormConstant {
	
	public static final String REVISION = "$Revision: 1.6.2.2 $";
	
	public FormConstant(){
		super();
	}
  /****************************************************************************
   * The constant common used in the FORM module.
   ****************************************************************************/
	
	/** These constants will used to define form db lookup sqlstatement. */
	public final static String FORM_DB_LOOKUP_SQL_SELECT="SELECT";
	public final static String FORM_DB_LOOKUP_SQL_FROM="FROM";
	public final static String FORM_DB_LOOKUP_SQL_WHERE="WHERE";
	public final static String FORM_DB_LOOKUP_SQL_SEPARATOR=";";
	public final static String[] OPERATORS={"=",">","<",">=","<=","<>","LIKE"};
	/** The constant be used to define name of collection of operators. */
	public final static String FORM_DB_LOOKUP_OPREATORS_COLLECTION = "OPERATORS";
	/** The constant be used to define name of collection of conditionID. */
	public final static String FORM_DB_LOOKUP_CONDITIONID_COLLECTION = "CONDITIONIDS";
	/** The constant be used to define name of  function(javascript onchange event of conditionID). */
	public final static String FORM_DB_LOOKUP_FUNCTION_NAME = "getSQLvalues";

  public final static int FORM_TITLE_LENGTH=40;

  /** 
   * The constant be used to define the workflowRecord ID
   * when form isn't relate with flow.
   * */
  public final static String BAND_NONEWORKFLOWRECORDID = "-1";
}
